package com.edz.dudumifi.base;

/**
 * author: Created by EDZ on 2018/5/10.
 * function:全局变量配置
 */

public interface Config {
    //设备IP+端口
    String local_device = "127.0.0.1";
    int local_decice_port = 6677;

    //服务器IP+端口
    String server_address = "119.23.26.153";
    int server_port = 9999;

    //本机测试服务器IP+端口
    String local_server_address = "192.168.0.34";
    int local_server_port = 8899;

    //本机测试服务器IP+端口
    String gange_local_server_address = "192.168.0.33";
    int gange_local_server_port = 9999;

    String imei1_test = "888888888888888";

    String req_heartdata = "{\"SignalLevel\":\"4\",\"WLanMac\":\"38-1C-23-02-14-3D\",\"MsgType\":\"GetSystemInfo\",\"BatCharging\":\"True\",\"MCCMNC\":\"46011\",\"IMSI\":\"460111122245063\",\"WLanStaCount\":\"1\",\"NetworkTypeName\":\"LTE\",\"BatCapacity\":\"39\",\"IMEI1\":\"888888888888888\",\"ICCID\":\"89860317462025227738\",\"DataNetworkTypeClass\":\"3\",\"SimSlotIndex\":\"0\",\"VersionCode\":\"1203\",\"IMSI2\":\"\",\"WLanSSID\":\"4G-MFI-143D\",\"NetType\":\"Connected\",\"WLanStaList\":\"7c:1d:d9:77:8f:1b_0\",\"WLanKey\":\"\",\"Version\":\"V1.1\",\"ICCID2\":\"\",\"DeviceVersion\":\"4G_LTE_5M_H11_C04_MV1.381\",\"IMEI2\":\"356793034562975\",\"WLanStaMaxCount\":\"7\"}";
    String req_imei = "{\"MsgType\":\"GetSystemInfo\",\"IMEI1\":\"888888888888888\"}";
    //系统信息
    String req_lbsctrl = "{\"MsgType\":\"LbsCtl\",\"CmdType\":\"Enable\",\"IMEI1\":\"" + imei1_test + "\"}";                             //lbs控制
    String req_webredictconfig = "{\"MsgType\":\"WebRedirectConfig\"}";                                                                  //重定向配置
    String req_setnetrate = "{\"MsgType\":\"SetNetRate\",\"CmdType\":\"Enable\",\"NetRate\":\"1024\",\"IMEI1\":\"" + imei1_test + "\"}"; //限速信息

    //请求设备信息 + 设置
    String req_lbsctrl_localdevice = "{\"MsgType\":\"LbsCtl\",\"CmdType\":\"Enable\"}";
    String req_getsysteminfo_localdevice = "{\"MsgType\":\"GetSystemInfo\"}";

    String IMEI = "IMEI1";

}
